package com.lkd.service.impl;

import com.lkd.entity.Business;
import com.lkd.mapper.BusinessMapper;
import com.lkd.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BusinessServiceImpl implements BusinessService {

    @Autowired
    private BusinessMapper businessMapper;


    @Override
    public List<Business> findList() {
        return businessMapper.findAll();
    }
}
